const mongoose = require('./connection')

const cartSchema = new mongoose.Schema({
    menuid: String,
    num: Number,
    speandkind: String,
    userid: String
})

const cartModel = mongoose.model('cart', cartSchema, 'cart')

module.exports = cartModel